package com.alisls.shequtao.service.goods.entity;

import com.alisls.shequtao.common.model.entity.BaseDO;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * SKU(Stock Keeping Unit)库存量单元
 *
 * @author Ke Wang
 */
@TableName(value = "prd_sku")
@Getter
@Setter
@ToString
public class SkuDO extends BaseDO {

    @TableId
    private Long id;

    private Long spuId;

    private String title;

    /**
     * 商品价格，单位为分
     */
    private Long price;

    private String images;

    private String ownSpec;

    private String indexes;

    private String enable;

}
